projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
766b1b9
)
immodule: Stop gcc from complaining
author
Benjamin Otte
<otte@gnome.org>
Sat, 6 Feb 2016 02:38:37 +0000
(
03:38
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 11 Feb 2016 02:44:47 +0000
(
03:44
+0100)
gtk/gtkimmodule.c
patch
|
blob
|
history
diff --git
a/gtk/gtkimmodule.c
b/gtk/gtkimmodule.c
index 97021da3f2566892b6ebbeeeaef2456fd2db1f68..065d5ba3e895236e6052a530122730aa0cf76dc7 100644
(file)
--- a/
gtk/gtkimmodule.c
+++ b/
gtk/gtkimmodule.c
@@
-899,7
+899,7
@@
get_current_input_language (void)
/* Current thread's keyboard layout */
kblayout = GetKeyboardLayout(0);
/* lowest word in the HKL is the LANGID */
- langid =
((guint32)kblayout) & 0xFFFF
;
+ langid =
LOWORD (kblayout)
;
/* LCID is the LANGID without order */
lcid = langid;